// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/reset.css'
import './assets/css/border.css'
import iView from 'iview'
import 'iview/dist/styles/iview.css'
import SlideVerify from 'vue-monoplasty-slide-verify'
import VueCookies from 'vue-cookie'
import vFoot from './components/foot.vue'
import vHeader from './components/head.vue'
import vLocal from './components/localhead.vue'
import vFood from './components/foodhead.vue'
import vNation from './components/nationhead.vue'
import vMeng from './components/menghead.vue'
import vCity from './components/cityhead.vue'
import Vwordcloudchart from './components/wordcloudchart.vue'
import vHeadcheck from './components/headcheck.vue'
import VueResource from 'vue-resource'
import './assets/iconfont/iconfont.css'

Vue.use(VueResource)
Vue.component('v-foot', vFoot)
Vue.component('v-head', vHeader)
Vue.component('v-local', vLocal)
Vue.component('v-food', vFood)
Vue.component('v-nation', vNation)
Vue.component('v-meng', vMeng)
Vue.component('v-city', vCity)
Vue.component('v-cloudword', Vwordcloudchart)
Vue.component('v-headcheck', vHeadcheck)
Vue.config.productionTip = false
Vue.use(iView)
Vue.use(SlideVerify)
Vue.use(VueCookies)
Vue.$cookie = VueCookies
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
